import { Component } from '@angular/core';

@Component({
  selector: 'my-heroes',
  template: `<h1>Hello Hero, {{title}}!</h1>
  <nav>
    <a routerLink="/dashboard">Dashboard</a>
    <a routerLink="/heroes">Heroes</a>
  </nav>
  <router-outlet></router-outlet>
  `
})
export class HeroesComponent {
  title = 'Tour of heroes!';
}
